package com.entity;

import java.util.ArrayList;
import java.util.List;

public class MemberactivityrecordsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public MemberactivityrecordsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMarnoIsNull() {
            addCriterion("marno is null");
            return (Criteria) this;
        }

        public Criteria andMarnoIsNotNull() {
            addCriterion("marno is not null");
            return (Criteria) this;
        }

        public Criteria andMarnoEqualTo(String value) {
            addCriterion("marno =", value, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoNotEqualTo(String value) {
            addCriterion("marno <>", value, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoGreaterThan(String value) {
            addCriterion("marno >", value, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoGreaterThanOrEqualTo(String value) {
            addCriterion("marno >=", value, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoLessThan(String value) {
            addCriterion("marno <", value, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoLessThanOrEqualTo(String value) {
            addCriterion("marno <=", value, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoLike(String value) {
            addCriterion("marno like", value, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoNotLike(String value) {
            addCriterion("marno not like", value, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoIn(List<String> values) {
            addCriterion("marno in", values, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoNotIn(List<String> values) {
            addCriterion("marno not in", values, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoBetween(String value1, String value2) {
            addCriterion("marno between", value1, value2, "marno");
            return (Criteria) this;
        }

        public Criteria andMarnoNotBetween(String value1, String value2) {
            addCriterion("marno not between", value1, value2, "marno");
            return (Criteria) this;
        }

        public Criteria andMarimgIsNull() {
            addCriterion("marImg is null");
            return (Criteria) this;
        }

        public Criteria andMarimgIsNotNull() {
            addCriterion("marImg is not null");
            return (Criteria) this;
        }

        public Criteria andMarimgEqualTo(String value) {
            addCriterion("marImg =", value, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgNotEqualTo(String value) {
            addCriterion("marImg <>", value, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgGreaterThan(String value) {
            addCriterion("marImg >", value, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgGreaterThanOrEqualTo(String value) {
            addCriterion("marImg >=", value, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgLessThan(String value) {
            addCriterion("marImg <", value, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgLessThanOrEqualTo(String value) {
            addCriterion("marImg <=", value, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgLike(String value) {
            addCriterion("marImg like", value, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgNotLike(String value) {
            addCriterion("marImg not like", value, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgIn(List<String> values) {
            addCriterion("marImg in", values, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgNotIn(List<String> values) {
            addCriterion("marImg not in", values, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgBetween(String value1, String value2) {
            addCriterion("marImg between", value1, value2, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarimgNotBetween(String value1, String value2) {
            addCriterion("marImg not between", value1, value2, "marimg");
            return (Criteria) this;
        }

        public Criteria andMarnameIsNull() {
            addCriterion("marName is null");
            return (Criteria) this;
        }

        public Criteria andMarnameIsNotNull() {
            addCriterion("marName is not null");
            return (Criteria) this;
        }

        public Criteria andMarnameEqualTo(String value) {
            addCriterion("marName =", value, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameNotEqualTo(String value) {
            addCriterion("marName <>", value, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameGreaterThan(String value) {
            addCriterion("marName >", value, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameGreaterThanOrEqualTo(String value) {
            addCriterion("marName >=", value, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameLessThan(String value) {
            addCriterion("marName <", value, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameLessThanOrEqualTo(String value) {
            addCriterion("marName <=", value, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameLike(String value) {
            addCriterion("marName like", value, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameNotLike(String value) {
            addCriterion("marName not like", value, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameIn(List<String> values) {
            addCriterion("marName in", values, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameNotIn(List<String> values) {
            addCriterion("marName not in", values, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameBetween(String value1, String value2) {
            addCriterion("marName between", value1, value2, "marname");
            return (Criteria) this;
        }

        public Criteria andMarnameNotBetween(String value1, String value2) {
            addCriterion("marName not between", value1, value2, "marname");
            return (Criteria) this;
        }

        public Criteria andMardescIsNull() {
            addCriterion("marDesc is null");
            return (Criteria) this;
        }

        public Criteria andMardescIsNotNull() {
            addCriterion("marDesc is not null");
            return (Criteria) this;
        }

        public Criteria andMardescEqualTo(String value) {
            addCriterion("marDesc =", value, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescNotEqualTo(String value) {
            addCriterion("marDesc <>", value, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescGreaterThan(String value) {
            addCriterion("marDesc >", value, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescGreaterThanOrEqualTo(String value) {
            addCriterion("marDesc >=", value, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescLessThan(String value) {
            addCriterion("marDesc <", value, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescLessThanOrEqualTo(String value) {
            addCriterion("marDesc <=", value, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescLike(String value) {
            addCriterion("marDesc like", value, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescNotLike(String value) {
            addCriterion("marDesc not like", value, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescIn(List<String> values) {
            addCriterion("marDesc in", values, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescNotIn(List<String> values) {
            addCriterion("marDesc not in", values, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescBetween(String value1, String value2) {
            addCriterion("marDesc between", value1, value2, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMardescNotBetween(String value1, String value2) {
            addCriterion("marDesc not between", value1, value2, "mardesc");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeIsNull() {
            addCriterion("marBeginTime is null");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeIsNotNull() {
            addCriterion("marBeginTime is not null");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeEqualTo(String value) {
            addCriterion("marBeginTime =", value, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeNotEqualTo(String value) {
            addCriterion("marBeginTime <>", value, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeGreaterThan(String value) {
            addCriterion("marBeginTime >", value, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeGreaterThanOrEqualTo(String value) {
            addCriterion("marBeginTime >=", value, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeLessThan(String value) {
            addCriterion("marBeginTime <", value, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeLessThanOrEqualTo(String value) {
            addCriterion("marBeginTime <=", value, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeLike(String value) {
            addCriterion("marBeginTime like", value, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeNotLike(String value) {
            addCriterion("marBeginTime not like", value, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeIn(List<String> values) {
            addCriterion("marBeginTime in", values, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeNotIn(List<String> values) {
            addCriterion("marBeginTime not in", values, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeBetween(String value1, String value2) {
            addCriterion("marBeginTime between", value1, value2, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarbegintimeNotBetween(String value1, String value2) {
            addCriterion("marBeginTime not between", value1, value2, "marbegintime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeIsNull() {
            addCriterion("marEndTime is null");
            return (Criteria) this;
        }

        public Criteria andMarendtimeIsNotNull() {
            addCriterion("marEndTime is not null");
            return (Criteria) this;
        }

        public Criteria andMarendtimeEqualTo(String value) {
            addCriterion("marEndTime =", value, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeNotEqualTo(String value) {
            addCriterion("marEndTime <>", value, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeGreaterThan(String value) {
            addCriterion("marEndTime >", value, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeGreaterThanOrEqualTo(String value) {
            addCriterion("marEndTime >=", value, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeLessThan(String value) {
            addCriterion("marEndTime <", value, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeLessThanOrEqualTo(String value) {
            addCriterion("marEndTime <=", value, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeLike(String value) {
            addCriterion("marEndTime like", value, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeNotLike(String value) {
            addCriterion("marEndTime not like", value, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeIn(List<String> values) {
            addCriterion("marEndTime in", values, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeNotIn(List<String> values) {
            addCriterion("marEndTime not in", values, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeBetween(String value1, String value2) {
            addCriterion("marEndTime between", value1, value2, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMarendtimeNotBetween(String value1, String value2) {
            addCriterion("marEndTime not between", value1, value2, "marendtime");
            return (Criteria) this;
        }

        public Criteria andMnoIsNull() {
            addCriterion("mno is null");
            return (Criteria) this;
        }

        public Criteria andMnoIsNotNull() {
            addCriterion("mno is not null");
            return (Criteria) this;
        }

        public Criteria andMnoEqualTo(String value) {
            addCriterion("mno =", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotEqualTo(String value) {
            addCriterion("mno <>", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoGreaterThan(String value) {
            addCriterion("mno >", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoGreaterThanOrEqualTo(String value) {
            addCriterion("mno >=", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoLessThan(String value) {
            addCriterion("mno <", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoLessThanOrEqualTo(String value) {
            addCriterion("mno <=", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoLike(String value) {
            addCriterion("mno like", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotLike(String value) {
            addCriterion("mno not like", value, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoIn(List<String> values) {
            addCriterion("mno in", values, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotIn(List<String> values) {
            addCriterion("mno not in", values, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoBetween(String value1, String value2) {
            addCriterion("mno between", value1, value2, "mno");
            return (Criteria) this;
        }

        public Criteria andMnoNotBetween(String value1, String value2) {
            addCriterion("mno not between", value1, value2, "mno");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}